//
//  JWScheduleModel.h
//  SiqiCalendar
//
//  Created by sunjiawen on 2018/4/4.
//  Copyright © 2018年 sjw. All rights reserved.
//

#import <Realm/Realm.h>

static NSString *const kScheduleId              = @"scheduleId";
static NSString *const kScheduleName            = @"scheduleName";
static NSString *const kScheduleColor           = @"scheduleColor";
static NSString *const kScheduleOrderIndex      = @"orderIndex";

@interface JWScheduleModel : RLMObject
/** idvalue */
@property NSString *scheduleId;

/** 班名 */
@property NSString *scheduleName;
@property NSString *scheduleColorStr;

/** 该班所需要显示的颜色*/
@property(nonatomic, strong) UIColor *scheduleColor;

/** 排序 从0开始 */
@property NSNumber<RLMInt> *orderIndex;

- (void)updateOrderIndex: (NSNumber<RLMInt> *)orderIndex;
@end

// This protocol enables typed collections. i.e.:
// RLMArray<JWScheduleModel>
RLM_ARRAY_TYPE(JWScheduleModel)
